<template>
	<div style="background-color: #1989FA;">
		<van-nav-bar left-text="退出店家管理" left-arrow @click-left="onClickLeft" />

		<!-- 方格 -->
		<div>
			<van-grid column-num="3">
				<van-grid-item to="/shop/addcar">
					<img class="van-img" src="../../assets/addCar.png" />
					<span>上新车辆</span>
				</van-grid-item>
				<van-grid-item to="/shop/listshopcar">
					<img class="van-img" src="../../assets/listCar.png" />
					<span>查看本店车辆</span>
				</van-grid-item>
				<van-grid-item to="/shop/shopinfo">
					<img class="van-img" src="../../assets/shopInfo.png" />
					<span>店家信息</span>
				</van-grid-item>
			</van-grid>
		</div>
	</div>
</template>

<script>
	export default {
		methods: {
			onClickLeft() {
				this.$router.replace("home");
			}
		}
	}
</script>

<style scoped>
	.van-img {
		weight: 3.75rem;
		height: 3.75rem;
	}
</style>
